package com.gzhu.knowledgeAdmin.service;

import com.gzhu.knowledgeAdmin.entity.AVideo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URISyntaxException;
import java.util.List;

public interface AVideoService {
    //音频上传
    String uploadFile(MultipartFile file) throws IOException, URISyntaxException;

    //全部查找
    List<AVideo> select(AVideo aVideo);

    //视频上传
    String VUpload(MultipartFile file) throws IOException, URISyntaxException;

    void exportAVideo(AVideo aVideo, HttpServletResponse response) throws MalformedURLException, URISyntaxException;

    String filescan() throws IOException, URISyntaxException;
}
